<div class="modal-header">
  <div class="modal-title">选择部门</div>
</div>
<div style="max-height: 450px; overflow-y: auto">
  <nz-tree #nzTree
    [(ngModel)]="departs"
    [nzCheckable]="false"
    [nzDefaultExpandAll]="true"
    [nzCheckStrictly]="true"
    [nzDefaultCheckedKeys]="defaultCheckList"
    (nzExpandChange)="mouseAction('expand',$event)"
    (nzClick)="mouseAction('click',$event)"
    (nzOnDragStart)="mouseAction('dragstart',$event)"
    (nzOnDragEnter)="mouseAction('enter',$event)"
    (nzOnDragLeave)="mouseAction('leave', $event)"
    (nzOnDrop)="mouseAction('drop', $event)"
    (nzOnDragEnd)="mouseAction('end', $event)">
  </nz-tree>
</div>
<div class="modal-footer">
  <button nz-button type="button" (click)="close()">关闭</button>
  <button nz-button type="button" [nzType]="'primary'" (click)="save()">确定</button>
</div>
